#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{
	vector<string> svec;
	string str;
	cout<<"enter some string:"<<endl;

	while(cin>>str)
		svec.push_back(str);

	for(vector<string>::iterator iter=svec.begin();iter!=svec.end();++iter)
		cout<<*iter<<" ";

	return 0;

}